import cv2 as cv
import numpy as ny


def resize_image():
    src_img = cv.imread('Lena.png', cv.IMREAD_COLOR)
    x, y = src_img.shape[:2]

#    dst_img = cv.resize(src_img, (2*x, 2*y), interpolation=cv.INTER_LINEAR)
    dst_img = cv.resize(src_img, None, fx=1.5, fy=1.5, interpolation=cv.INTER_LINEAR)

    cv.imshow('src_image', src_img)
    cv.imshow('dst_img', dst_img)
    cv.waitKey(0)


if __name__ == "__main__":
    resize_image()
